home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-04d.zip / 04d / CHIP / Porady / Niewidoczny w sieci / TOR 0.1.2.7 / vidalia-bundle-0.1.2.7-alpha-0.0.10.exe / $_5_ / $_6_
Text File  |  2006-12-03  |  7KB  |  145 lines

  1. ## Configuration file for a typical Tor user
  2. ## Last updated 8 October 2006 for Tor 0.1.2.3-alpha.
  3. ## (May or may not work for older or newer versions of Tor.)
  4. ##
  5. ## Lines that begin with "## " try to explain what's going on. Lines
  6. ## that begin with just "#" are disabled commands: you can enable them
  7. ## by removing the "#" symbol.
  8. ##
  9. ## See the man page, or http://tor.eff.org/tor-manual-cvs.html, for more
  10. ## options you can use in this file.
  11. ##
  12. ## On Unix, Tor will look for this file in someplace like "~/.tor/torrc" or
  13. ## "/etc/torrc"
  14. ##
  15. ## On Windows, Tor will look for the configuration file in someplace like
  16. ## "Application Data\tor\torrc" or "Application Data\<username>\tor\torrc"
  17. ##
  18. ## With the default Mac OS X installer, Tor will look in ~/.tor/torrc or
  19. ## /Library/Tor/torrc
  20.  
  21.  
  22. ## Replace this with "SocksPort 0" if you plan to run Tor only as a
  23. ## server, and not make any local application connections yourself.
  24. SocksPort 9050 # what port to open for local application connections
  25. SocksListenAddress 127.0.0.1 # accept connections only from localhost
  26. #SocksListenAddress 192.168.0.1:9100 # listen on this IP:port also
  27.  
  28. ## Entry policies to allow/deny SOCKS requests based on IP address.
  29. ## First entry that matches wins. If no SocksPolicy is set, we accept
  30. ## all (and only) requests from SocksListenAddress.
  31. #SocksPolicy accept 192.168.0.0/16
  32. #SocksPolicy reject *
  33.  
  34. ## Logs go to stdout at level "notice" unless redirected by something
  35. ## else, like one of the below lines. You can have as many Log lines as
  36. ## you want.
  37. ##
  38. ## We advise using "notice" in most cases, since anything more verbose
  39. ## may provide sensitive information to an attacker who obtains the logs.
  40. ##
  41. ## Send all messages of level 'notice' or higher to C:\Documents and Settings\Application Data\Tor\notices.log
  42. #Log notice file C:\Documents and Settings\Application Data\Tor\notices.log
  43. ## Send every possible message to C:\Documents and Settings\Application Data\Tor\debug.log
  44. #Log debug file C:\Documents and Settings\Application Data\Tor\debug.log
  45. ## Use the system log instead of Tor's logfiles
  46. #Log notice syslog
  47. ## To send all messages to stderr:
  48. #Log debug stderr
  49.  
  50. ## Uncomment this to start the process in the background... or use
  51. ## --runasdaemon 1 on the command line. This is ignored on Windows;
  52. ## see the FAQ entry if you want Tor to run as an NT service.
  53. #RunAsDaemon 1
  54.  
  55. ## The directory for keeping all the keys/etc. By default, we store
  56. ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
  57. #DataDirectory @LOCALSTATEDIR@/lib/tor
  58.  
  59. ## The port on which Tor will listen for local connections from Tor
  60. ## controller applications, as documented in control-spec.txt.
  61. #ControlPort 9051
  62.  
  63. ############### This section is just for location-hidden services ###
  64.  
  65. ## Once you have configured a hidden service, you can look at the
  66. ## contents of the file ".../hidden_service/hostname" for the address
  67. ## to tell people.
  68. ##
  69. ## HiddenServicePort x y:z says to redirect requests on port x to the
  70. ## address y:z.
  71.  
  72. #HiddenServiceDir C:\Documents and Settings\Application Data\Tor\hidden_service/
  73. #HiddenServicePort 80 127.0.0.1:80
  74.  
  75. #HiddenServiceDir C:\Documents and Settings\Application Data\Tor\other_hidden_service/
  76. #HiddenServicePort 80 127.0.0.1:80
  77. #HiddenServicePort 22 127.0.0.1:22
  78.  
  79. ################ This section is just for servers #####################
  80.  
  81. ## NOTE: If you enable these, you should consider mailing the contents
  82. ## of the "fingerprint" file to the tor-ops, so nobody else can pick
  83. ## your nickname and use a different key. See
  84. ## http://tor.eff.org/docs/tor-doc-server.html for details.
  85.  
  86. ## Required: A unique handle for your server.
  87. #Nickname ididnteditheconfig
  88.  
  89. ## The IP or FQDN for your server. Leave commented out and Tor will guess.
  90. #Address noname.example.com
  91.  
  92. ## Define these to limit your bandwidth usage. Note that BandwidthRate
  93. ## must be at least 20 KB.
  94. #BandwidthRate 100 KB      # Throttle traffic to 100KB/s (800Kbps)
  95. #BandwidthBurst 200 KB     # But allow bursts up to 200KB/s (1600Kbps)
  96.  
  97. ## Contact info to be published in the directory, so we can contact you
  98. ## if your server is misconfigured or something else goes wrong.
  99. #ContactInfo Random Person <nobody AT example dot com>
  100. ## You might also include your PGP or GPG fingerprint if you have one:
  101. #ContactInfo 1234D/FFFFFFFF Random Person <nobody AT example dot com>
  102.  
  103. ## Required: what port to advertise for Tor connections.
  104. #ORPort 9001
  105. ## If you want to listen on a port other than the one advertised
  106. ## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment the
  107. ## line below too. You'll need to do ipchains or other port forwarding
  108. ## yourself to make this work.
  109. #ORListenAddress 0.0.0.0:9090
  110.  
  111. ## Uncomment this to mirror the directory for others. Please do
  112. ## if you have enough bandwidth: see the bottom of
  113. ## http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#LimitBandwidth
  114. #DirPort 9030 # what port to advertise for directory connections
  115. ## If you want to listen on a port other than the one advertised
  116. ## in DirPort (e.g. to advertise 80 but bind to 9091), uncomment the line
  117. ## below too. You'll need to do ipchains or other port forwarding yourself
  118. ## to make this work.
  119. #DirListenAddress 0.0.0.0:9091
  120.  
  121. ## Uncomment this if you run more than one Tor server, and add the
  122. ## nickname of each Tor server you control, even if they're on different
  123. ## networks. You declare it here so Tor clients can avoid using more than
  124. ## one of your servers in a single circuit.
  125. #MyFamily nickname1,nickname2,...
  126.  
  127. ## A comma-separated list of exit policies. They're considered first
  128. ## to last, and the first match wins. If you want to _replace_
  129. ## the default exit policy, end this with either a reject *:* or an
  130. ## accept *:*. Otherwise, you're _augmenting_ (prepending to) the
  131. ## default exit policy. Leave commented to just use the default, which is
  132. ## available in the man page or at http://tor.eff.org/documentation.html
  133. ##
  134. ## Look at http://tor.eff.org/faq-abuse.html#TypicalAbuses
  135. ## for issues you might encounter if you use the default exit policy.
  136. ##
  137. ## If certain IPs and ports are blocked externally, e.g. by your firewall,
  138. ## you should update your exit policy to reflect this -- otherwise Tor
  139. ## users will be told that those destinations are down.
  140. ##
  141. #ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more
  142. #ExitPolicy accept *:119 # accept nntp as well as default exit policy
  143. #ExitPolicy reject *:* # no exits allowed
  144.  
  145.